package com.probiz.estore.exports.model;

import java.io.Serializable;
import java.util.LinkedHashMap;

import com.probiz.estore.exports.handler.ColumnHandler;
import com.probiz.estore.exports.handler.basic.BasicHandler;

@SuppressWarnings("serial")
public class Column implements Serializable{
	/**
	 * 处理的实体名称或自定义属性code
	 */
	private String attrName ;
	/**
	 * 导出文件列头
	 */
	private String columnHeader;
	/**
	 * 默认值
	 */
	private String defaultValue;
	/**
	 * 属性选择，如状态，销售规则等
	 */
	private LinkedHashMap<String, String> selects=null;
	/**
	 * 默认为 BasicHandler，如需修改配置在对应的xml里
	 */
	private ColumnHandler handler = new BasicHandler();
	
	private boolean isDate = false ;
	
	public boolean isDate() {
		return isDate;
	}
	public void setDate(boolean isDate) {
		this.isDate = isDate;
	}
	public ColumnHandler getHandler() {
		return handler;
	}
	public void setHandler(ColumnHandler handler) {
		this.handler = handler;
	}
	public String getAttrName() {
		return attrName;
	}
	public void setAttrName(String attrName) {
		this.attrName = attrName;
	}
	public String getColumnHeader() {
		return columnHeader;
	}
	public String getDefaultValue() {
		return defaultValue;
	}
	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}
	public void setColumnHeader(String columnHeader) {
		this.columnHeader = columnHeader;
	}
	public LinkedHashMap<String, String> getSelects() {
		return selects;
	}
	public void setSelects(LinkedHashMap<String, String> selects) {
		this.selects = selects;
	} 
	
	
}
